package com.raising.framework.shiro.entity;

import java.io.Serializable;

/**
 * 当前登录人
 * @author GaoYuan
 * @date 2018/11/28 下午2:29
 */
public class CurrentUser implements Serializable{

    private static final long serialVersionUID = 1L;

    /** 用户标识 */
    private String id;
    /** 账号 */
    private String username;
    /** 所属机构 */
    private String orgId;
    /** 所属机构 */
    private String orgNm;
    /** 单位no */
    private String orgNo;
    /** 角色串 */
    private String roleIds;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgNm() {
        return orgNm;
    }

    public void setOrgNm(String orgNm) {
        this.orgNm = orgNm;
    }

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    @Override
    public String toString() {
        return "CurrentUser{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", orgId='" + orgId + '\'' +
                ", orgNm='" + orgNm + '\'' +
                ", orgNo='" + orgNo + '\'' +
                ", roleIds='" + roleIds + '\'' +
                '}';
    }
}
